package com.btpj.hospital_server.mapper;

import com.btpj.hospital_server.entity.UserMedicalCardRelation;

import java.util.List;

public interface UserMedicalCardRelationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserMedicalCardRelation record);

    int insertSelective(UserMedicalCardRelation record);

    UserMedicalCardRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserMedicalCardRelation record);

    int updateByPrimaryKey(UserMedicalCardRelation record);

    List<UserMedicalCardRelation> selectByAccountId(Long cardCountByAccountId);

    UserMedicalCardRelation selectByAccountIdAndCardId(Long accountId, Long cardId);
}